O2 Agent - IDE Extension
Overview
The DevAssure O2 Agent is an invisible, code-aware testing agent, compatible with VS Code /VS Code–based editors/ Cursor that brings autonomous end-to-end validation directly into the developer workflow. It analyzes the code changes, identify impacted areas, and executes only the most relevant tests for pull requests, branches, and commits.
What O2 Does
-
Code-Aware Test Targeting: O2 reads your diff and runs only the tests that matter for that change — not the entire suite. Every validation is scoped to the actual change set, so you get fast, precise feedback without noise.
-
Natural-Language Test Authoring: Write test scenarios in plain-language YAML — no scripting, no brittle selectors, no framework boilerplate. Describe what the user does; O2 figures out how to execute it.
-
CSV-Driven Execution: Import test cases directly from CSV files with configurable field mappings. Great for data-heavy flows, bulk scenario coverage, and QA handoffs without rebuilding test logic.
-
Reusable Actions & Hooks : Define login, setup, teardown, and other repeated flows once — then reference them across any scenario. Keep your test suite DRY and consistent as the product evolves.
-
Custom Tool Integration : Extend O2 with your own executable tools and environment-specific commands. Works with internal mocks, seed scripts, feature flags, and staging configurations.
-
CI/CD-Ready Out of the Box : Token-based authentication, JUnit XML export, archived reports, and pipeline integration. Drop O2 into your GitHub Actions, GitLab CI, or any CI workflow with minimal config.
How It Works
- Install the extension in your IDE (VS Code, Cursor, Windsurf, or any VS Code–compatible editor) and initialize your project.
- The extension creates a
.devassure/folder in your workspace with configuration files and a sample test. - Add test cases as
.yamlfiles or.csvfiles under.devassure/tests/. - Run tests from the Tests view sidebar or via CodeLens in the editor.
- Monitor live execution in the Run Logs panel and access detailed reports from the History view..
Install & Initialize
Install the extension, log in, and set up your first DevAssure project.
Configuration Files
Learn how app.yaml, test_data.yaml, preferences.yaml, and other files control execution.
Writing Tests
Create YAML or CSV-based test cases using natural-language steps.
Running Tests
Execute tests from the sidebar, editor CodeLens, or selected folders.
Filters
Run targeted tests using tags, priorities, folders, and query-based filters.
Actions
Reuse step groups across multiple test cases using action definitions.
Reports & History
View execution logs, session history, and detailed HTML reports.
Library Tools
Enable built-in tools like faker and authenticator to enhance test execution.
Advanced Features
Switch environments, manage multiple projects, configure proxies, and more.
FAQ
Find answers to common questions about setup, execution, and CI usage.